package com.web.service;

import com.web.dao.UserDAO;
import com.web.dao.impl.UserDAOImp;
import com.web.service.impl.CategoryServiceImp;
import com.web.service.impl.OrderServiceImp;
import com.web.service.impl.ProductServiceImp;
import com.web.service.impl.ReceiveAddressServiceImp;
import com.web.service.impl.UserServiceImp;

public class ServiceDAOFactory{
	public static UserService getUserService(){
		  return new UserServiceImp();
	  }
	 
	public static CategoryService getCategoryService() {
		return new CategoryServiceImp();
	}
	
	public static ProductService getProductService() {
		return new ProductServiceImp();
	}
	
	public static ReceiveAddressService getReceiveAddressService(){
		  return new ReceiveAddressServiceImp();
	  }

	public static OrderService getOrderService() {
		return new OrderServiceImp();
	}

}
